Column Chart

The Column Chart is a vertical bar graph that represents categorical data in rectangular bars with heights proportional to the values that they represent.

The Column Chart shows comparisons among discrete categories. It is a two-dimensional graph in which one axis of the graph shows the specific groups being compared and another one represents the measured value.

../_images/LP_DB_Widget_ColumnChart.png

Count of logs grouped by source_port

The following query gives the output shown above.

| chart count() by action limit 5

Response Types Supported

The Column chart supports two aggregation response types for representation of search results in the visualization. They are:

Response Type

General Syntax

Single Aggregation with Grouping

| chart aggregation_parameter by grouping_parameter1, grouping_parameter2, ........, grouping_parametern

Timechart Single Aggregation without Grouping

| timechart aggregation_parameter

Single Aggregation with Grouping

In the Single Aggregation with Grouping response type, the x-axis of a Column chart represents the values of the grouping parameter(s) whereas the y-axis represents the values of the aggregation parameter.

Example:

severity=* | chart count() by severity order by count() desc limit 5
../_images/LP_Search_SAWG_Column.png

Column chart for Single Aggregation with Grouping

You can refer to Single Aggregation with Grouping for more details.

Timechart Single Aggregation without Grouping

In the Timechart Single Aggregation without Grouping response type, the x-axis of the Column chart represents the value of timestamps whereas the y-axis represents the values of the aggregation parameter.

Each bar represents the value of the aggregation parameter in a given Interval. The Interval is calculated automatically as per the time range selected in the Search Bar . The value of the *Interval is displayed on the extreme left of the container.

Example:

| timechart avg(datasize)
../_images/LP_Search_TSAWoG_Column.png

Column chart for Timechart Single Aggregation without Grouping

You can refer to Timechart Single Aggregation without Grouping for more details.


Helpful?

We are glad this guide helped.


Please don't include any personal information in your comment

Contact Support